Adwaita: Update separator styling
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Dec 2015 20:56:56 +0000 (15:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 15 Dec 2015 13:41:16 +0000 (08:41 -0500)
Separators no longer draw a line with the foreground color,
but instead just draw background.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 59c452d3edd3bd11beb43cfe0f2d632835e004e3..8de9e9c88f5c6a6d372bf92f90746f7d819ee044 100644 (file)
@@ -2553,7 +2553,9 @@ scrolledwindow {
 separator {
   // always disable separators
   // -GtkWidget-wide-separators: true;
-  color: transparentize(black, 0.9);
+  background: transparentize(black, 0.9);
+  min-width: 1px;
+  min-height: 1px;
 
   // Font and File button separators
   button.file &.vertical,
index 7414d8c7262e94175664ab6ae9afc79a99b74400..52ce6be18c3196b840e6b514f7691692d5c32b02 100644 (file)
@@ -3625,7 +3625,9 @@ scrolledwindow junction {
     background-color: #323737; }
 
 separator {
-  color: rgba(0, 0, 0, 0.1); }
+  background: rgba(0, 0, 0, 0.1);
+  min-width: 1px;
+  min-height: 1px; }
   button.file separator.vertical, button.font separator.vertical {
     -GtkWidget-wide-separators: true; }
 
index 28b95897fe5314d1ad753a98a8c89c5cb1646ce9..ef83a14645d206315e211e701f12f0e4d89254fb 100644 (file)
@@ -3787,7 +3787,9 @@ scrolledwindow junction {
     background-color: #e1e1df; }
 
 separator {
-  color: rgba(0, 0, 0, 0.1); }
+  background: rgba(0, 0, 0, 0.1);
+  min-width: 1px;
+  min-height: 1px; }
   button.file separator.vertical, button.font separator.vertical {
     -GtkWidget-wide-separators: true; }